#ifndef __MAP_H__
#define __MAP_H__

#include <map>
#include <string>
#include <vector>
#include <SFML/Graphics.hpp>
#include "Box.hpp"

class Map
{
	public:
		Map ();
		virtual ~Map ();
	
		void loadModele(const std::string& modele);
		void setBackground(const std::string& background);
		std::map<unsigned int,BoxPtr>& boxes();
		sf::Image& background();
		
		void removeBoxAt(const unsigned int index);
		void clearBoxes();
	private:
		/* data */
	std::map<std::string,sf::Image> m_modeles;
	std::map<std::string,sf::Image> m_backgrounds;
	std::map<unsigned int, BoxPtr> m_boxes;
	sf::Image m_background;
};


#endif /* __MAP_H__ */

